#pragma once

#include "Shape.h"
#include <iostream>
#include "CollisionDetector.h"
using namespace std;

class MCircle:public Shape
{
	friend class CollisionDetector;
private:
	float x, y, r;	//origin (x,y) radius r
	int step;
	int n;
	pair<float,float> *points;	//vertexes of the circle
public:
	MCircle(float ax, float ay, float ar, int an);
	~MCircle(void);
	void drawShape();
	void fallDown(float t, list<Shape*> *list );
	void shift(float x, float y) ;
	float getMinX() const;
	float getMaxX() const;
};

